[ [ C a t e g o r y : F r i t z b o t   E T ] ] 
 
 [ [ I m a g e : E T _ t a n k . j p g | c e n t e r | ] ] 
 
 = = = < c e n t e r > W A Y P O I N T I N G   F O R   V E H I C L E S < / c e n t e r > = = = 
 
 
 
 F r i t z B o t ' s   w i l l   e s c o r t   o r   d i s a b l e   a   m o v i n g   v e h i c l e   w i t h   a   s l i g h t l y   h i g h e r   p r i o r i t y   t h a n   r e g u l a r   a c t i o n s .   T h e   r e s u l t   i s   t h a t   s o m e   b o t s   w i l l   e s c o r t   t h e   v e h i c l e ,   w h i l e   o t h e r s   w i l l   u s e   o t h e r   a v a i l a b l e   a c t i o n s .   I t ' s   r a n d o m l y   g e n e r a t e d   e v e r y   t i m e   t h e y   r e c e i v e   a   g o a l .   B e c a u s e   o f   t h i s ,   t h e   w a y p o i n t e r   h a s   t h e   a b i l i t y   t o   s e t   u p   a c t i o n s   i n   s t r a t e g i c   p l a c e s   b a s e d   o n   w h e r e   t h e   v e h i c l e   i s   g o i n g .   T h i s   i s   a c h i e v e d   b y   t o g g l i n g   a c t i o n s   o n   a n d   o f f   b a s e d   o n   t h e   v e h i c l e s   l o c a t i o n . 
 
 
 
 H o w   c a n   w e   d e t e c t   w h e r e   a   m o v i n g   v e h i c l e   i s   o n   a   m a p ?   A   m o v i n g   v e h i c l e   f o l l o w s   a   s p e c i f i c   s c r i p t e d   p a t h   w i t h i n   t h e   m a p .   T h i s   p a t h   i s   d e f i n e d   b y   s p l i n e   n u m b e r s .   O n c e   a   t a n k   g e t s   t o   a   s p l i n e ,   t h e   m a p   s c r i p t   d e t e r m i n e s   w h e t h e r   o r   n o t   t h e   m o v i n g   v e h i c l e   c a n   k e e p   m o v i n g .   I n   m o s t   m a p s ,   t h e r e   a r e   b a r r i e r s   f o r   t h e   m o v i n g   v e h i c l e s .   W h e n   a   v e h i c l e   r e a c h e s   a   c e r t a i n   s p l i n e   n e a r   t h e   b a r r i e r ,   t h e   m a p   s c r i p t   w i l l   r e m o v e   t h e   b a r r i e r   c o m p l e t e l y   f r o m   t h e   m a p .   W i t h   a c t i o n _ e v e n t _ e x p i r e ,   w e   h a v e   t h e   a b i l i t y   t o   t o g g l e   a c t i o n s   b a s e d   o n   t h e   l o c a t i o n   o f   t h e   v e h i c l e   ( b e c a u s e   w e   k n o w   i t   r e a c h e d   t h e   s p l i n e   t h a t   ' e x p i r e s '   t h e   b a r r i e r ) . 
 
 
 
 W e   c a n   u s e   t h e   s a m e   p r i n c i p a l s   f o r   m a n i p u l a t i n g   a c t i o n s   b a s e d   o n   t h e   v e h i c l e s   l o c a t i o n   a l o n g   t h e   p a t h   u s i n g   a c t i o n _ e v e n t _ e x p l o d e .   T o   d o   t h i s ,   w e   w i l l   n e e d   t o   c r e a t e   f u n c _ e x p l o s i v e s   a n d   s i m p l y   r e m o v e   t h e m   w h e n   w e   w a n t   t o . 
 
 < c e n t e r > _ _ T O C _ _ < / c e n t e r > 
 
 
 
 = = = = S t e p   1 :     F i n d i n g   t h e   m a p   s c r i p t = = = = 
 
 
 
 M o v a b l e   e n t i t i e s   i n   a   m a p   ( b r i d g e s   t h a t   c a n   b e   b u i l t   a n d   d e s t r o y e d ,   c o m m a n d   p o s t s   t h a t   a r e   b u i l t   a n d   b l o w n ,   t a n k s   o r   t r u c k s   t h a t   m o v e   a r o u n d   t h e   m a p ,   t o w e r s   t h a t   f a l l ) ,     a r e   a l l   h a n d l e d   i n   t h e   m a p   s c r i p t .     Y o u r   m a p . p k 3   i s   l o c a t e d   i n   / e t m a i n   a n d   i t s   s c r i p t   i s     l o c a t e d   i n   t h e   " m a p s "   f o l d e r   o f   t h e   m a p . p k 3 ,   a l o n g   w i t h   s o m e   o t h e r   f i l e s .     O p e n   t h e   m a p . p k 3   w i t h   y o u r   u n z i p   s o f t w a r e   a n d   f i n d   t h e   s c r i p t   f i l e .     I t ' l l   h a v e   t h e   s a m e   n a m e   a s   t h e   m a p   w i t h   a   . s c r i p t   e x t e n s i o n .     C l i c k   o n   i t   a n d   d r a g   a   c o p y   t o   y o u r   f r i t z b o t / m a p s   f o l d e r .     D o   n o t   r e m o v e   t h e   o r i g i n a l   f r o m   t h e   p k 3 .     I f   t h e   f r i t z b o t / m a p s   f o l d e r   i s   m i s s i n g ,   c r e a t e   i t   f i r s t .     M a k e   s u r e   t h a t   y o u   h a v e   s e t   ' ' / s v _ p u r e   =   0 ' '   s o   y o u r   s o o n - t o - b e   m o d i f i e d   v e r s i o n   o f   t h e   s c r i p t   w i l l   b e   u s e d   w h e n   y o u   r u n   t h e   m a p   ( i n s t e a d   o f   t h e   o r i g i n a l   i n   t h e   . p k 3 ) . 
 
 
 
 Y o u ' l l   f i n d   t h a t   t h e   s c r i p t   i s   f u l l   o f   a r c a n e   c o m m a n d s   t h a t   a r e   c r i t i c a l   t o   t h e   f u n c t i o n i n g   o f   t h e   m a p .     ' ' ' D O   N O T   C H A N G E   A N Y T H I N G   E X C E P T   W H A T   I S   D E S C R I B E D   H E R E . ' ' '     I f   y o u   s c r e w   u p ,   y o u r   m a p   m a y   n o t   r u n .     A l l   i s   n o t   l o s t ,   h o w e v e r ,   b e c a u s e   y o u   s a f e l y   l e f t   t h e   o r i g i n a l   u n t o u c h e d   i n   t h e   m a p . p k 3 ,   d i d n ' t   y o u ? 
 
 
 
 
 
 = = = = S t e p   2 :     C r e a t i n g   t h e   f a k e   e n t i t y = = = = 
 
 
 
 O p e n   t h e   m a p   . s c r i p t   i n   y o u r   t e x t   e d i t o r .     Y o u   m a y   h a v e   t o   i n s t r u c t   W i n d o w s   t o   a c c e p t   t h e   . s c r i p t   e x t e n s i o n   a s   a   v a l i d   t e x t   f i l e .     A t   t h e   v e r y   t o p   o f   t h e   f i l e   y o u ' l l   s e e   t h e   " g a m e _ m a n a g e r "   a n d   " s p a w n "   h e a d i n g s   w i t h   t h e i r   a s s o c i a t e d   c u r l y - b r a c k e t s ,   a s   s h o w n   b e l o w : 
 
 
 
   g a m e _ m a n a g e r 
 
   { 
 
   	 s p a w n 
 
   	 { 
 
 
 
 S c r o l l   d o w n   u n t i l   y o u   r e a c h   t h e   " / / G a m e   r u l e s "   c o m m e n t .     T h e r e   m a y   o r   m a y   n o t   b e   o t h e r   l i n e s   o f   c o d e   b e t w e e n   t h e   t o p   o f   t h e   f i l e   a n d   " / / G a m e s   r u l e s . "     T h e   e x a m p l e   b e l o w   i s   f r o m   C a e n 2 : 
 
 
 
   	 	 / /   G a m e   r u l e s 
 
   	 	 w m _ a x i s _ r e s p a w n t i m e 	 1 5 
 
   	 	 w m _ a l l i e d _ r e s p a w n t i m e 	 3 0 
 
   	 	 w m _ n u m b e r _ o f _ o b j e c t i v e s     8 
 
   	 	 w m _ s e t _ r o u n d _ t i m e l i m i t 	 2 0 
 
   
 
   	 	 / /   O b j e c t i v e s 
 
   	 	 / /   1 :   C a p t u r e   T o w n 
 
     	 	 	 . 
 
     	 	 	 . 
 
     	 	 	 . 
 
 
 
 N o w   y o u   n e e d   t o   i n s e r t   t h e   f o l l o w i n g   s c r i p t   m o d i f i c a t i o n s   J U S T   A B O V E   t h e   / / G a m e   r u l e s   c o m m e n t   ( e x a m p l e   i s   a l s o   f r o m   C a e n 2 ) : 
 
 
 
   / / C r e a t e   a   f a k e   t o i   t o   d e t e c t   w h e n   t h e   t a n k   b e g i n s   t o   r o l l 
 
   / / n o t e ,   t h e   n a m e   f a k e   t o i   i s   j u s t   u s e d   a s   a   c o m m o n   n a m i n g   c o n v e n t i o n 
 
   c r e a t e 	 / /   T h e   f a k e   e x p l o d e   e n t i t y   - -   t h i s   i s   o u r   s i g n a l   " m i n e " 
 
   { 
 
   	 s c r i p t N a m e   " f a k e t o i 1 " 
 
   	 c l a s s n a m e   " f u n c _ e x p l o s i v e " 
 
   	 t a r g e t n a m e   " f a k e t o i 1 " 
 
   	 o r i g i n   " - 1 8 0 6   - 3 5 4 3   4 0 2 " 
 
   	 m i n s   " - 6 3   - 1 0   0 " 
 
   	 m a x s   " 6 3   1 0   1 2 8 " 
 
   	 h e a l t h   " 1 0 0 0 0 0 0 " 
 
   	 s p a w n f l a g s   1 
 
   	 e f l a g s   6 5 5 3 6 
 
   	 s v f l a g s   1 
 
   } 
 
 
 
 N e x t   y o u   n e e d   t o   a l t e r   s o m e   o f   t h e   v a l u e s   t o   s u i t   y o u r   s p e c i f i c   m a p .     Y o u   c a n   c h a n g e   t h e   f a k e t o i 1   n a m e s   t o   s u i t   y o u r   f a n c y   B U T   B E   C O N S I S T E N T   F O R   T H E   " C R E A T E S . "     S i n c e   m o r e   t h a n   o n e   f a k e   e n t i t y   i s   u s u a l l y   n e c e s s a r y ,   u s i n g   n u m e r i c a l   s u f f i x e s   h e l p   t o   k e e p   a d d i t i o n a l   e n t i t i e s   f r o m   g e t t i n g   m i x e d   u p   i s   r e c o m m e n d e d . 
 
 
 
 T h e   n u m e r i c a l   v a l u e s   f o r   t h e   " o r i g i n "   p a r a m e t e r   a r e   t h e   x y z   m a p   c o o r d i n a t e s   o f   t h e   e n t i t i e s .     T o   g e t   t h e s e   v a l u e s   f o r   y o u r   m a p ,   e n t e r   t h e   m a p   a s   a   p l a y e r ,   c h o o s e   a   r e m o t e   s p o t   o n   t h e   m a p   a n d   g o   t h e r e .     T y p e   ' ' / v i e w p o s ' '   i n   t h e   c o n s o l e   a n d   y o u ' l l   b e   r e w a r d e d   w i t h   y o u r   c o o r d i n a t e s .     R e p l a c e   t h e   o n e s   f r o m   t h e   C a e n 2   e x a m p l e   w i t h   y o u r   m a p ' s   v a l u e s . 
 
 
 
 I f   y o u   n e e d   m o r e   t h a n   o n e   e n t i t y ,   c o p y   y o u r   e d i t e d   o n e s   E X A C T L Y ,   t h e n   c h a n g e   t h e   s c r i p t N a m e ,   t a r g e t n a m e ,   c l a s s n a m e ,   t a r g e t ,   t r a c k ,   a n d   s h o r t n a m e .     Y o u   c a n   k e e p   t h e   c o o r d i n a t e s   o f   t h e   f i r s t   s e t .     F o r   e x a m p l e : 
 
 
 
   c r e a t e 
 
   { 
 
   	 s c r i p t N a m e   " f a k e t o i 2 " 
 
   	 c l a s s n a m e   " f u n c _ e x p l o s i v e " 
 
   	 t a r g e t n a m e   " f a k e t o i 2 " 
 
   	 o r i g i n   " - 1 8 0 6   - 3 5 4 3   4 0 2 " 
 
   	 m i n s   " - 6 3   - 1 0   0 " 
 
   	 m a x s   " 6 3   1 0   1 2 8 " 
 
   	 h e a l t h   " 1 0 0 0 0 0 0 " 
 
   	 s p a w n f l a g s   1 
 
   	 e f l a g s   6 5 5 3 6 
 
   	 s v f l a g s   1 
 
   } 
 
   
 
 I n s e r t   t h e s e   d i r e c t l y   b e l o w   t h e   f i r s t   s e t .     T r y   t o   n o t   u s e   t o o   m a n y   e n t i t i e s .     C r a p s h o o t   h a s   r e p o r t e d   m e m o r y   e r r o r s   w i t h   m o r e   t h a n   f i v e   f a k e   t o i   e n t i t i e s .     I f   y o u   e x p e r i e n c e   p r o b l e m s   w i t h   t h e   n u m b e r   o f   a d d e d   t o i s   t h e n   t h e   s c r i p t   c h a n g e s   c a n   b e   s t r u c t u r e d   t o   u s e   o t h e r   e x i s t i n g   t r i g g e r _ o b j e c t i v e _ i n f o s   ( i . e .   t h o s e   f o r   h e a t h   a n d   a m m o   c a b i n e t s ) ,   o r   t o   s h a r e   o n e   a d d e d   t o i - f a k e   c o n s t r u c t   p a i r .     S h a r i n g   t o i s   i s   n o t   c o v e r e d   i n   t h i s   a r t i c l e ,   s o   i f   n e e d e d   r e v i e w   [ [ F r i t z b o t _ M a p _ S c r i p t i n g # F a k e _ C o n s t r u c t . 2 7 s   |   F r i t z b o t _ M a p _ S c r i p t i n g # F a k e _ C o n s t r u c t ] ]   f o r   t i p s   o n   u s i n g   a   t o i - f a k e   c o n s t r u c t   p a i r . 
 
 
 
 = = = = S t e p   3 :     T e l l i n g   t h e   s c r i p t   w h a t   t o   d o   w i t h   t h e   e n t i t i e s = = = = 
 
 
 
 N o w   t h a t   w e   h a v e   t h e   f a k e   e n t i t i e s   c r e a t e d ,   w e   n e e d   t o   b e   a b l e   t o   d o   s o m e t h i n g   w i t h   t h e m .   T h e   f o l l o w i n g   c o d e   t e l l s   t h e   s c r i p t   w h a t   t o   d o   w h e n   o n e   o f   t h e s e   e n t i t i e s   i s   m a n i p u l a t e d .     S c r o l l   d o w n   t o   t h e   c l o s i n g   c u r l y - b r a c k e t   o f   t h e   g a m e _ m a n a g e r .     I t ' s   e a s y   t o   m i s s :     t r y   p l a c i n g   y o u r   c u r s o r   o n   t h e   g a m e _ m a n a g e r   t o p   c u r l y - b r a c k e t ,   t h e n   s c r o l l   s l o w l y   d o w n   u n t i l   t h e   c u r s o r   a g a i n   l i n e s   u p   w i t h   t h e   f i r s t   r i g h t   c u r l y - b r a c k e t   y o u   e n c o u n t e r .     I n s e r t   t h e   f o l l o w i n g   s c r i p t   i m m e d i a t e l y   b e l o w : 
 
 
 
   / / t h e   f a k e   t o i 
 
   f a k e t o i 1 
 
   { 
 
             s p a w n 
 
             { 
 
     
 
             } 
 
   
 
             d e a t h 
 
             { 
 
   
 
             } 
 
   
 
             t r i g g e r   r e m o v e 
 
             { 
 
                         r e m o v e 
 
             } 
 
   } 
 
 
 
 ' ' ' ' ' N o t e :   T h i s   s t e p   i s   o p t i o n a l   a s   a l e r t e n t i t y   o n   f u n c _ e x p l o s i v e s   w i l l   r e m o v e   t h e   e n t i t y .   B u t   i t ' s   g o o d   p r a c t i c e   t o   h a v e   s c r i p t   b l o c k s   f o r   a n y   e n t i t i e s   w e   c r e a t e ' ' ' ' ' . 
 
   
 
 N o t i c e   t h e   n a m e    f a k e t o i 1 ? .   T h e s e   s h o u l d   E X A C T L Y   M A T C H   t h e   s c r i p t N a m e   u s e d   i n   t h e   c r e a t e   c o d e .   T h e   s c r i p t N a m e   o f   t h e   e n t i t y   t e l l s   t h e   g a m e   t h a t   i f   a n   e v e n t   h a p p e n s   t o   t h a t   e n t i t y ,   i t   s h o u l d   l o o k   t h r o u g h   t h e   s c r i p t   t o   f i n d   t h e s e .   F o r   a n y   a d d i t i o n a l   o n e s   y o u   m a y   a d d ,   y o u   n e e d   t o   m a k e   s u r e   t h e   s c r i p t N a m e   i s   t h e   s a m e   a s   t h e   c o r r e s p o n d i n g   s c r i p t   y o u   w a n t   r u n .     A d d   t h e   a d d i t i o n a l   s c r i p t s   i m m e d i a t e l y   b e l o w   t h e   f i r s t . 
 
 
 
 = = = = S t e p   4 :     R e m o v i n g   t h e   e n t i t y = = = = 
 
 
 
 A s   d i s c u s s e d   a b o v e ,   r e m o v i n g   a n   e n t i t y   c a u s e s   i t s   t o i   t o   c h a n g e   s t a t e ,   a l l o w i n g   a n   ' ' a c t i o n _ e v e n t _ e x p l o d e ' '   ( a c t i o n   t y p e   # 3 4 )   t o   d e t e c t   i t .     T o   d e c i d e   w h e r e   t o   p u t   t h e   r e m o v a l   c o d e ,   w e   h a v e   t o   i d e n t i f y   t h e   p a r t i c u l a r   s p l i n e   t h a t   c o r r e s p o n d s   t o   t h e   d e s i r e d   l o c a t i o n   o f   t h e   v e h i c l e .     T o   d o   s o ,   s c r o l l   f u r t h e r   d o w n w a r d   i n   t h e   s c r i p t ,   u s u a l l y   a   c o n s i d e r a b l e   d i s t a n c e .     Y o u ' l l   e v e n t u a l l y   e n c o u n t e r   a   h e a d i n g   c o m m e n t   c a l l e d   " / / T A N K   S T U F F , "   c l o s e l y   f o l l o w e d   b y   a   " t a n k "   h e a d i n g   a n d   i t s   l e f t   c u r l y - b r a c k e t   ( i f   t h e r e   i s   a   t r u c k ,   i t ' l l   s a y   " t r u c k "   i n s t e a d ) .     S o o n   a f t e r ,   y o u ' l l   b e g i n   s e e i n g   a   s t r i n g   o f   " t r i g g e r   r u n _ x "   c o d e   m o d u l e s .     T h e s e   a r e   t h e   v e h i c l e - m o v e m e n t   s c r i p t s   a n d   t h e   n u m b e r   " x "   c o r r e s p o n d s   t o   t h e   s p l i n e   n u m b e r . 
 
 
 
 T o   f i n d   o u t   w h e r e   a   p a r t i c u l a r   s p l i n e   i s   o n   t h e   m a p ,   i n s e r t   t e m p o r a r y   " w m _ a n n o u n c e "   c o m m a n d s   a s   s h o w n   b e l o w .     T h e   w m _ c o m m a n d   t e x t   w i l l   b e   d i s p l a y e d   o n   y o u r   s c r e e n   w h e n   t h e   v e h i c l e   r e a c h e s   t h a t   s p l i n e .     A t   e v e r y   s p l i n e   t h a t   y o u   t h i n k   m i g h t   b e   o f   i n t e r e s t   t o   y o u ,   p l a c e   a   w m _ a n n o u n c e   w i t h   t h e   s p l i n e   n u m b e r   c h a n g e d   t o   i n d i c a t e   t h e   p a r t i c u l a r   s p l i n e   n u m b e r   w h e r e   t h e   w m _ a n n o u n c e   i s   l o c a t e d .     T h e n   s t a r t   t h e   g a m e ,   b u i l d   t h e   v e h i c l e ,   a n d   j u m p   o n   o r   e s c o r t   i t .     Y o u ' l l   s e e   y o u r   w m - a n n o u n c e m e n t s   d i s p l a y e d   a s   t h e   v e h i c l e   r o l l s   a l o n g   f r o m   s p l i n e   t o   s p l i n e .   Z e r o   i n   o n   y o u r   d e s i r e d   l o c a t i o n   a n d   t h e n   i n s e r t   t h e   l i n e   o f   c o d e   " a l e r t e n t i t y   f a k e t o i 1 "   r i g h t   a f t e r   t h e   t r i g g e r   x _ r u n   t o p   c u r l y - b r a c k e t .     H e r e   i s   a n o t h e r   e x a m p l e   f r o m   C a e n 2 : 
 
 
 
   t r i g g e r   r u n _ 1 
 
   { 
 
   	 / / h e r e   i s   w h e r e   w e   r e m o v e   t h e   f a k e t o i 
 
   	   a l e r t e n t i t y   f a k e t o i 1   / / p u t   t h i s   i m m e d i a t e l y   b e l o w   t h e   t o p   c u r l y - b r a c k e t 
 
   
 
   	 / / w e   c a n   u s e   t h i s   t o   s e e   w h e r e   t h e   s p l i n e s   a r e 
 
   	 w m _ a n n o u n c e   " ^ 1 H E L L O   W A Y P O I N T E R ,   I   A M   A T   S P L I N E   1 " 
 
   
 
                 / / t h e s e   l i n e s   w i l l   v a r y   b e t w e e n   m a p s   a n d   b e t w e e n   s p l i n e s 
 
   	 t r i g g e r   s e l f   t r a c k s _ f o r w a r d 
 
   	 t r i g g e r   g a m e _ m a n a g e r   a x i s _ m o v e _ t a n k 
 
   	 a c c u m   1   b i t s e t   2 
 
   	 f o l l o w s p l i n e   0   s p l n 3   5 0   w a i t   l e n g t h   3 2 
 
   	 a c c u m   1   b i t r e s e t   2 
 
   
 
   	 t r i g g e r   s e l f   r u n _ c o n t i n u e 
 
   } 
 
 
 
 B e   s u r e   t h e   e n t i t y   n a m e   f o l l o w i n g   " a l e r t e n t i t y "   i s   E X A C T L Y   t h e   t a r g e t n a m e   o f   t h e   f u n c _ e x p l o s i v e   e n t i t y   y o u   w i s h   t o   r e m o v e .     W h e n   y o u   a r e   f i n i s h e d ,   t h e   w m _ a n n o u n c e   e n t r i e s   c a n   b e   r e m o v e d . 
 
 
 
 
 
 = = = = S t e p   5 :     G e t t i n g   t h e   e n t i t y   n u m b e r s = = = = 
 
 
 
 N o w   w e   c a n   u s e   o u r   e n t i t i e s   w i t h   a c t i o n _ e v e n t _ e x p l o d e ,   b u t   f i r s t   w e   h a v e   t o   f i n d   t h e   n u m b e r   o f   t h e s e   i n v i s i b l e   e n t i t i e s .     E n t e r   ' ' / f a k e t o i s ' '   i n   t h e   c o n s o l e   a n d   y o u ' l l   s e e   t h e   n e w l y - a l l o c a t e d   n u m b e r s   o f   y o u r   f a k e   e n t i t i e s .     T h e   c o n s o l e   c o m m a n d   a l s o   w r i t e s   t h e   d a t a   t o   t h e   f i l e   " e n t i t i e s _ y o u r m a p n a m e . t x t "   a n d   p l a c e s   i t   i n   y o u r   \ f r i t z b o t   f o l d e r . 
 
 
 
 N O T E :     t h e   a d d i t i o n   o f   f a k e   e n t i t i e s   t o   t h e   m a p   d o e s   n o t   u s e   n u m b e r s   f r o m   t h e   e n d   o f   t h e   e n t i t y - n u m b e r   l i s t   a s   y o u   w o u l d   l o g i c a l l y   e x p e c t ,   b u t   a r b i t r a r i l y   i n s e r t s   t h e m   i n t o   t h e   m i d d l e   o f   t h e   l i s t   s o m e w h e r e .     T h i s   m e a n s   t h a t   m a n y   e n t i t y   n u m b e r s   o n   t h e   m a p   w i l l   c h a n g e .     E i t h e r   d o   a l l   y o u r   f a k e - e n t i t y   w o r k   a t   t h e   b e g i n n i n g   o f   y o u r   w a y p o i n t i n g   o r   e x p e c t   t o   h a v e   t o   r e c h e c k   a l l   o f   y o u r   a c t i o n s '   e n t i t y   n u m b e r s   l a t e r .     F a i l i n g   t o   d o   t h i s   w i l l   s c r e w   y o u   u p   r o y a l l y ! 
 
 
 
 
 
 = = = = S t e p   6 :     R e m o v i n g   t h e   e n t i t y   i c o n   f r o m   t h e   g a m e   m a p = = = = 
 
 
 
 A   r e s u l t   o f   c r e a t i n g   a   t r i g g e r _ o b j e c t i v e _ i n f o   e n t i t y   i s   t h a t   i t s   i c o n   g e t s   a d d e d   t o   t h e   g a m e   m a p .     S i n c e   t h i s   i s   a c t u a l l y   a n   i n v i s i b l e   o b j e c t ,   w e   d o n ' t   w a n t   p l a y e r s   r u n n i n g   a l l   o v e r   t h e   m a p   l o o k i n g   f o r   w h a t   s e e m s   t o   b e   a   c o m m a n d   p o s t .     T o   r e m o v e   t h e   i c o n ,   y o u   h a v e   t o   c o m m e n t   o u t   s o m e   l i n e s   i n   t h e   s c r i p t   m o d i f i c a t i o n s   t h a t   w e   h a v e   j u s t   c o m p l e t e d .     Y o u   m u s t   d o   t h i s   A F T E R   f i n d i n g   y o u r   e n t i t y   n u m b e r s   b e c a u s e   t h e s e   l i n e s   a r e   n e c e s s a r y   f o r   t h a t .     G o   b a c k   t o   y o u r   " f a k e t o i 1 _ o b j "   s c r i p t   a n d   c o m m e n t   o u t   t h e   s p a w n f l a g s ,   e f l a g s ,   c u s t o m a x i s i m a g e ,   a n d   m o d e l   l i n e s : 
 
 
 
   c r e a t e 	 / /   T h e   f a k e   t o i   e n t i t y     - -   t h i s   i s   i t s   t o i 
 
   { 
 
   	 o b j f l a g s   " 2 " 
 
   	 s c r i p t N a m e   " f a k e t o i 1 _ o b j " 
 
   	 c l a s s n a m e   " t r i g g e r _ o b j e c t i v e _ i n f o " 
 
   	 t a r g e t n a m e   " f a k e t o i 1 _ o b j " 
 
   	 t a r g e t   " f a k e t o i 1 " 
 
   	 o r i g i n   " - 1 8 0 6   - 3 5 4 3   4 0 2 "   / / s a m e   a s   a b o v e 
 
   	 m i n s   " - 9 5   - 8 5   0 " 
 
   	 m a x s   " 9 5   8 5   1 2 8 " 
 
   	 / / s p a w n f l a g s   1 
 
   	 t r a c k   " t h e   F a k e   T O I 1 " 
 
   	 s h o r t n a m e   " F a k e   T O I 1 " 
 
   	 / / e f l a g s   6 5 5 3 6 
 
   	 / / c u s t o m a x i s i m a g e   " g f x / l i m b o / c m _ r a d a r _ m a i n d o o r " 
 
   	 / / m o d e l   " * 1 6 " 
 
   } 
 
 
 
 ' ' ' ' ' N o t e :   t h i s   i s   o n l y   n e e d e d   f o r   e n t i t i e s   c r e a t e d   w i t h   t h e   c l a s s n a m e   ' t r i g g e r _ o b j e c t i v e _ i n f o '   a s   t h e y   a r e   t h e   o n l y   o n e s   t h a t   c r e a t e   a   c o m m a n d   m a p   i c o n . ' ' ' ' ' 
 
 = = = = S t e p   7 :     U s i n g   t h e   e v e n t _ e x p l o d e   a c t i o n = = = = 
 
 
 
 T h e   f i n a l   s t e p   o f   t h e   p r o c e s s   i s   t o   p l a c e   a n   ' ' a c t i o n _ e v e n t _ e x p l o d e ' '   n o d e   f o r   e a c h   f a k e   t o i   t h a t   y o u   h a v e   c r e a t e d .     T h e   p l a c e m e n t   o f   t h e s e   a c t i o n   n o d e s   i s   n o t   c r i t i c a l :     a   g o o d   p l a c e   i s   i n   t h e   a i r   a b o v e   t h e   s p l i n e   l o c a t i o n ,   b u t   i t   c a n   b e   a n y w h e r e .     J u s t   b e   s u r e   t o   b e   r e a s o n a b l y   c l o s e   t o   a   p a t h   n o d e   o r   F r i t z B o t   w o n ' t   a l l o w   y o u   t o   c r e a t e   t h e   a c t i o n .     T h e   f o l l o w i n g   A C T I O N   p a r a m e t e r s   m u s t   b e   s e t   ( l e a v e   t h e   r e m a i n d e r   a t   t h e i r   d e f a u l t   v a l u e s ) : 
 
 
 
   A L L I E D   O B J :   3 4 
 
   A X I S   O B J :     3 4 
 
   A C T I O N   G R O U P   I D :     0 
 
   A C T I V E   F O R E V E R :     1 
 
   A C T I O N   E N T N U M :     u s e   t h e   e n t i t y   n u m b e r   o f   t h e   " f u n c _ e x p l o s i v e "   e n t i t y   ( N O T   t h e   t r i g g e r _ o b j e c t i v e _ i n f o   e n t i t y ) 
 
   A C T I O N   G O A L :     0 
 
 
 
 I n   y o u r   a i s c r i p t ,   c r e a t e   a n   a c t i o n   t e s t   u s i n g   t h i s   a c t i o n .     I t   w i l l   t r i g g e r   w h e n   t h e   v e h i c l e   r e a c h e s   t h e   s p l i n e   t h a t   y o u   h a v e   c h o s e n .     U s e   s c r i p t   k e y w o r d s   n o r m a l l y   w i t h i n   t h e   t e s t   t o   m a n i p u l a t e   t h e   a c t i o n s   t h a t   y o u   w a n t   t o   c h a n g e   w h e n   t h e   v e h i c l e   a r r i v e s . 
 
 
 
 T h a t ' s   a l l   t h e r e   i s   t o   i t .     S i m p l e ,   e h ? 
 
 
 
 
 
 M a n y   t h a n k s   t o   M a l e f i c u s   a n d   C r a p s h o o t   f o r   f i g u r i n g   t h i s   o u t !     O t h e r w i s e   w e   c o u l d n ' t   p l a y   a n y   t a n k   m a p s   w i t h   F r i t z B o t . 
 
 
 
 
 
 < c e n t e r > [ [ F r i t z B o t _ E T _ C r e a t i n g _ W a y p o i n t s # H o w _ t o _ w a y p o i n t _ w i t h _ t a n k s   |   R E T U R N   T O   M A I N   W A Y P O I N T I N G   P A G E ] ] < / c e n t e r > 
 
 
 
 
 
 [ h t t p : / / w i k i . b o t s - u n i t e d . c o m / i n d e x . p h p / C r e a t i n g _ a _ f a k e _ t o i   P e r m a n e n t   l i n k   t o   t h i s   p a g e ] 
 
 
 
 [ [ C a t e g o r y : F r i t z B o t   E T ] ] 
 
 